import fetch from '@/utils/request'

export function getRateTrend(data) {
  return fetch({
    url: '/stat/rate/trend',
    method: 'post',
    data
  })
}

export function getRateAmount(data) {
  return fetch({
    url: '/stat/rate/amount',
    method: 'post',
    data
  })
}

export function getPainAmount(data) {
  return fetch({
    url: '/stat/pain/amount',
    method: 'post',
    data
  })
}

export function getFeedbackAmount(data) {
  return fetch({
    url: '/stat/feedback/amount',
    method: 'post',
    data
  })
}